package com.nail.api.customMake.service.impl;

import com.nail.api.customMake.bean.PayLog;
import com.nail.api.customMake.dao.IpayLogDao;
import com.nail.api.customMake.service.IpayLogService;
import com.nail.service.impl.BaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

/**
 * Created by jie on 2017/10/10.
 */
@Service("payLogService")
public class PayLogServiceImpl  extends BaseService  implements IpayLogService{

    @Autowired
    private IpayLogDao payLogDao;

    @Transactional
    public void addPayLog(PayLog payLog){
        payLogDao.insert(payLog);
    }
}
